package com.example.anew.journey.mynewjourney.logic.setName.persenter;

import android.text.TextUtils;

import com.example.anew.journey.mynewjourney.logic.setName.view.ISSetNameView;

/**
 * 杭州惟君医疗科技有限公司10
 * Created by 20433 on 2018/3/7
 */

public class SetNamePersenter {
    private ISSetNameView mISSetNameView;
    public SetNamePersenter(ISSetNameView iSSetNameView) {
        this.mISSetNameView = iSSetNameView;
    }
    // 点击下一步跳转到设置密码页面
    public void btNextToSetPasswordActivity(){
       String  InputNiName = mISSetNameView.getInputNiName();
        if(TextUtils.isEmpty(InputNiName)){
            mISSetNameView.showToastInformation("请输入您的昵称");
            return;
        }
        mISSetNameView.toSetPasswordActivity(InputNiName);
    }
}
